/**
 * todo Actions
 * created by xq on 2018/10/16
 */

 /**
  * 修改搜索文字
  * @param {String} searchText 搜索keywords
  * @returns {Object} 返回actions对象
  */
export function changeSearchText(e) {
  const searchText = e.target.value
  console.log('changeSearchText')
  return {
    type: 'CHANGE_SEARCH',
    searchText
  }
}